import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { progressTrackingPlugin } from '../src/index'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    react(),
    progressTrackingPlugin({
      color: '#42b983',
      height: 4,
      showStatus: true
    })
  ],
  server: {
    host: '0.0.0.0',
    port: 23974,
    allowedHosts: true,
  }
})